package org.raymond.iworks.study.basic.designpattern.facade;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class Stereo {
    private Stereo(){}
    private final static class Holder {
        private final static Stereo instance = new Stereo();
    }
    public static Stereo getInstance(){
        return Stereo.Holder.instance;
    }
    public void on(){
        System.out.println("stereo on");
    }
    public void off(){
        System.out.println("stereo off");
    }
    public void setVolume(){
        System.out.println("stereo setVolume");
    }
}
